package com.lucas.rpc.consumer;

import com.lucas.rpc.common.rpc.interfaces.HelloService;
import com.lucas.rpc.framework.proxy.ProxyFactory;
import com.lucas.rpc.framework.remote.RpcRequest;
import com.lucas.rpc.framework.transport.tomcat.TomcatClient;

/**
 * @author: LiuCheng
 * @description:
 * @date: 2023-11-28 08:50
 **/
public class ConsumerTomcatMain {

    public static void main(String[] args) {

        HelloService helloService = ProxyFactory.getProxy(HelloService.class,"1.0");
        String result = helloService.hello("lucas");
        System.out.println(result);

    }
}
